package org.jeecg.modules.kuner.realnameauthbase.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.modules.kuner.realnameauthbase.entity.KrRealNameAuthBase;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description:
 * @Author: Planifolia.Van
 * @Date: 2025/2/18 11:40
 */
@Data
public class RealNameAuthBaseVO {
    /**
     * 用户信息
     */
    @ApiModelProperty(value = "用户信息")
    private String userId;
    /**
     * 用户姓名
     */
    @ApiModelProperty(value = "用户姓名")
    private String name;
    /**
     * 手机号码
     */
    @ApiModelProperty(value = "手机号码")
    private String phone;
    /**
     * 身份证正面
     */
    @ApiModelProperty(value = "身份证正面")
    private String idcardZ;
    /**
     * 身份证反面
     */
    @ApiModelProperty(value = "身份证反面")
    private String idcardF;

    public KrRealNameAuthBase buildPojo() {
        KrRealNameAuthBase realNameAuthBase = new KrRealNameAuthBase();
        realNameAuthBase.setName(name);
        realNameAuthBase.setUserId(userId);
        realNameAuthBase.setPhone(phone);
        realNameAuthBase.setIdcardF(idcardF);
        realNameAuthBase.setIdcardZ(idcardZ);
        return realNameAuthBase;
    }
}
